package com.app.model.main;

public class Article {
    private Long id;

    private Long userId;

    private String title;

    private String image;

    private String label;
    //规则：二进制表示111111，最高位高位reward，第二位coin，第三位top，
// 第四位help,第五位share，第六位精选essence
    private Byte type;

    private Byte flag;

    private String time;

    private String content;

    public String getContent() {
        return content;
    }

    public Article setContent(String content) {
        this.content = content;
        return this;
    }

    public Long getId() {
        return id;
    }

    public Article setId(Long id) {
        this.id = id;
        return this;
    }

    public Long getUserId() {
        return userId;
    }

    public Article setUserId(Long userId) {
        this.userId = userId;
        return this;
    }

    public String getTitle() {
        return title;
    }

    public Article setTitle(String title) {
        this.title = title;
        return this;
    }

    public String getImage() {
        return image;
    }

    public Article setImage(String image) {
        this.image = image;
        return this;
    }

    public String getLabel() {
        return label;
    }

    public Article setLabel(String label) {
        this.label = label;
        return this;
    }

    public Byte getType() {
        return type;
    }

    public Article setType(Byte type) {
        this.type = type;
        return this;
    }

    public Byte getFlag() {
        return flag;
    }

    public Article setFlag(Byte flag) {
        this.flag = flag;
        return this;
    }

    public String getTime() {
        return time;
    }

    public Article setTime(String time) {
        this.time = time;
        return this;
    }
}